package com.zpark.resume.service;

import com.zpark.resume.entity.Education;
import com.zpark.resume.entity.Experience;

import java.util.List;

/**
 * @PackageName: com.zpark.resume.service
 * @ClassName: IExperienceService
 * @Description:
 * @author: RZS
 * @date: 2023/6/1  18:08
 */
public interface IExperienceService {

    /**
     * 根据cv的id查询数据
     * @param cvId
     * @return
     */
    List<Experience> findByCvId(Integer cvId);

    /**
     * 添加工作经历
     * @param experience
     * @return
     */
    Integer addExperience(Experience experience);

    /**
     * 修改工作经历数据
     * @param experience
     * @return
     */
    Integer changeExperience(Experience experience);

    /**
     * 删除工作经历数据
     * @param id
     * @return
     */
    Integer removeExperience(Integer id);
}
